import { CleaningData, Cleaner, FloorData } from '../types';

// 模拟保洁数据
export const mockCleaningData: CleaningData[] = [
  {
    id: '1',
    location: 'A栋-1楼-东侧卫生间',
    type: '卫生间',
    score: 95,
    status: '优秀',
    cleanerId: 'C001',
    cleanerName: '张三',
    timestamp: '2025-10-21 09:30',
    floor: 1,
    building: 'A栋',
    issues: []
  },
  {
    id: '2',
    location: 'A栋-1楼-大厅地面',
    type: '地面',
    score: 88,
    status: '良好',
    cleanerId: 'C001',
    cleanerName: '张三',
    timestamp: '2025-10-21 09:45',
    floor: 1,
    building: 'A栋',
    issues: ['有少量水渍']
  },
  {
    id: '3',
    location: 'A栋-2楼-西侧垃圾桶',
    type: '垃圾桶',
    score: 72,
    status: '一般',
    cleanerId: 'C002',
    cleanerName: '李四',
    timestamp: '2025-10-21 10:00',
    floor: 2,
    building: 'A栋',
    issues: ['垃圾未及时清理', '桶外有垃圾']
  },
  {
    id: '4',
    location: 'B栋-1楼-中央卫生间',
    type: '卫生间',
    score: 92,
    status: '优秀',
    cleanerId: 'C003',
    cleanerName: '王五',
    timestamp: '2025-10-21 10:15',
    floor: 1,
    building: 'B栋',
    issues: []
  },
  {
    id: '5',
    location: 'B栋-2楼-走廊地面',
    type: '地面',
    score: 65,
    status: '需改进',
    cleanerId: 'C003',
    cleanerName: '王五',
    timestamp: '2025-10-21 10:30',
    floor: 2,
    building: 'B栋',
    issues: ['有明显污渍', '未及时清扫']
  },
  {
    id: '6',
    location: 'A栋-3楼-东侧垃圾桶',
    type: '垃圾桶',
    score: 90,
    status: '优秀',
    cleanerId: 'C002',
    cleanerName: '李四',
    timestamp: '2025-10-21 11:00',
    floor: 3,
    building: 'A栋',
    issues: []
  },
  {
    id: '7',
    location: 'B栋-3楼-会议室地面',
    type: '地面',
    score: 85,
    status: '良好',
    cleanerId: 'C004',
    cleanerName: '赵六',
    timestamp: '2025-10-21 11:20',
    floor: 3,
    building: 'B栋',
    issues: []
  },
  {
    id: '8',
    location: 'A栋-2楼-南侧卫生间',
    type: '卫生间',
    score: 78,
    status: '良好',
    cleanerId: 'C001',
    cleanerName: '张三',
    timestamp: '2025-10-21 11:45',
    floor: 2,
    building: 'A栋',
    issues: ['洗手池有水垢']
  }
];

// 模拟保洁员数据
export const mockCleaners: Cleaner[] = [
  {
    id: 'C001',
    name: '张三',
    phone: '138****1234',
    assignedAreas: ['A栋1-2楼', '公共区域'],
    todayTasks: 12,
    completedTasks: 10,
    averageScore: 87,
    status: '在岗'
  },
  {
    id: 'C002',
    name: '李四',
    phone: '139****5678',
    assignedAreas: ['A栋2-3楼'],
    todayTasks: 10,
    completedTasks: 8,
    averageScore: 81,
    status: '在岗'
  },
  {
    id: 'C003',
    name: '王五',
    phone: '136****9012',
    assignedAreas: ['B栋1-2楼'],
    todayTasks: 15,
    completedTasks: 12,
    averageScore: 78,
    status: '休息'
  },
  {
    id: 'C004',
    name: '赵六',
    phone: '137****3456',
    assignedAreas: ['B栋3-4楼'],
    todayTasks: 11,
    completedTasks: 11,
    averageScore: 85,
    status: '在岗'
  }
];

// 模拟楼层数据
export const mockFloorData: FloorData[] = [
  {
    floor: 1,
    building: 'A栋',
    points: [
      {
        id: 'p1',
        name: '东侧卫生间',
        type: '卫生间',
        x: 80,
        y: 20,
        score: 95,
        isClean: true,
        lastCleaned: '09:30'
      },
      {
        id: 'p2',
        name: '大厅地面',
        type: '地面',
        x: 50,
        y: 50,
        score: 88,
        isClean: true,
        lastCleaned: '09:45'
      },
      {
        id: 'p3',
        name: '西侧垃圾桶',
        type: '垃圾桶',
        x: 20,
        y: 30,
        score: 85,
        isClean: true,
        lastCleaned: '10:00'
      },
      {
        id: 'p4',
        name: '南侧卫生间',
        type: '卫生间',
        x: 50,
        y: 80,
        score: 90,
        isClean: true,
        lastCleaned: '10:15'
      }
    ]
  },
  {
    floor: 2,
    building: 'A栋',
    points: [
      {
        id: 'p5',
        name: '西侧垃圾桶',
        type: '垃圾桶',
        x: 25,
        y: 35,
        score: 72,
        isClean: false,
        lastCleaned: '10:00'
      },
      {
        id: 'p6',
        name: '南侧卫生间',
        type: '卫生间',
        x: 60,
        y: 75,
        score: 78,
        isClean: true,
        lastCleaned: '11:45'
      },
      {
        id: 'p7',
        name: '走廊地面',
        type: '地面',
        x: 50,
        y: 40,
        score: 82,
        isClean: true,
        lastCleaned: '11:30'
      }
    ]
  },
  {
    floor: 1,
    building: 'B栋',
    points: [
      {
        id: 'p8',
        name: '中央卫生间',
        type: '卫生间',
        x: 50,
        y: 50,
        score: 92,
        isClean: true,
        lastCleaned: '10:15'
      },
      {
        id: 'p9',
        name: '入口地面',
        type: '地面',
        x: 30,
        y: 70,
        score: 88,
        isClean: true,
        lastCleaned: '09:00'
      },
      {
        id: 'p10',
        name: '东侧垃圾桶',
        type: '垃圾桶',
        x: 75,
        y: 25,
        score: 90,
        isClean: true,
        lastCleaned: '10:30'
      }
    ]
  },
  {
    floor: 2,
    building: 'B栋',
    points: [
      {
        id: 'p11',
        name: '走廊地面',
        type: '地面',
        x: 50,
        y: 45,
        score: 65,
        isClean: false,
        lastCleaned: '10:30'
      },
      {
        id: 'p12',
        name: '北侧卫生间',
        type: '卫生间',
        x: 50,
        y: 20,
        score: 88,
        isClean: true,
        lastCleaned: '11:00'
      }
    ]
  }
];
